package com.example.logprocess.repository.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
@TableName("log_item")
public class LogEntity {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String appName;
    private String serverIp;
    private int serverPort;
    private Long timestamp;
    private String logLevel;
    private int pid;
    private String traceId;
    private String thread;
    private String logger;
    private int line;
    private String message;
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;
    private Long createBy;
    @TableField(fill = FieldFill.UPDATE)
    private Long updateTime;
    private Long updateBy;
}

